package com.bit.mybatis.plus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bit.mybatis.plus.model.UserInfo;
import org.apache.coyote.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.tomcat.util.bcel.classfile.Constant;

import java.sql.Wrapper;
import java.util.List;
import java.util.stream.BaseStream;
@Mapper
public interface  UserInfoMapper extends BaseMapper<UserInfo> {
    UserInfo selectById3(Integer id);
    //进行自定义参数的使用；
//    @Select("select id,username,password,age from user_info ${ew.customSqlSegment}")
//    List<UserInfo> selectUserByCondition(@Param("Constants.WRAPPER") Wrapper<UserInfo> queryWrapper);

}
